package com.xauto.pioneer.appuser.model;

import org.json.JSONObject;

/**
 * Created by Administrator on 2018/7/17.
 */

public class SubmitReceiptInfo  extends BaseModel<SubmitReceiptInfo> {
    /** 开票邮寄订单id*/
    public String receipt_order_id;
    /** 开票总金额*/
    public String receipt_total;
    /** 公司名称*/
    public String receipt_name;
    /** 税号*/
    public String receipt_num;
    @Override
    public SubmitReceiptInfo parse(JSONObject jsonObject) {
        if(jsonObject!=null){
            receipt_order_id = jsonObject.optString("receipt_order_id");
            receipt_total = jsonObject.optString("receipt_total");
            receipt_name = jsonObject.optString("receipt_name");
            receipt_num = jsonObject.optString("receipt_num");
            return this;
        }
        return null;
    }
}
